s=lambda x,y:x+y

print(type(s))

print(s(1,2))


lst=[10,20,30,40,50]

for i in range(len(lst)):
    res = lambda x:x[i]
    print(res(lst))

stu_scores=[
    {'name':'zs', 'score':90},
    {'name':'ls', 'score':100},
    {'name':'ww', 'score':87},
    {'name':'zl', 'score':99}
]

stu_scores.sort(key=lambda x:x.get('score'), reverse=True)
print(stu_scores)